package com.liang.design.event;

import com.liang.design.ICouponDiscount;

import java.math.BigDecimal;

/**
 * @author lsm
 * @ClassName NYGCouponDiscount.java
 * @Description N元购
 * @createTime 2023年12月06日 16:48:00
 */
public class NYGCouponDiscount implements ICouponDiscount<Double> {


    /**
     * n元购购买
     * 1. ⽆无论原价多少钱都固定⾦金金额购买
     */
    public BigDecimal discountAmount(Double couponInfo, BigDecimal skuPrice) {
        return new BigDecimal(couponInfo);
    }
}
